<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <h:head>
        <title>Main page</title>
    </h:head>

    <h:body>

        <h1>Main page</h1>

        <h2>Username : #{userAccountSession.username}</h2>

        <h:form id="logout">
            <h:commandButton value="Logout" action="#{userAccountSession.logout()}"/>
        </h:form>

        <h:link value="Administration" outcome="administration.xhtml"/>

    </h:body>

</html>

